package cn.enilu.flash.mobile.domain;

import lombok.Data;

import javax.persistence.Column;

@Data
public class Register {

    @Column(columnDefinition = "VARCHAR(16) COMMENT '手机号'")
    private String mobile;
    @Column(columnDefinition = "VARCHAR(32) COMMENT '密码'")
    private String password;
    @Column(columnDefinition = "VARCHAR(32) COMMENT '昵称'")
    private String nickName;
    @Column(columnDefinition = "VARCHAR(16) COMMENT '验证码'")
    private String smsCode;
    @Column(columnDefinition = "VARCHAR(32) COMMENT '邀请码'")
    private String inviteCode;

}
